#!/bin/bash

set -e

# node 版本14
node -v
npm install -g yarn
DOCS_PATH="./docs"
yarn config set registry http://8.142.114.53:8801/repository/npm-group/
yarn config set sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
yarn install
yarn run build

cd $DOCS_PATH

yarn install
yarn run docs:build




